package com.shop.pojo;

public class Brand {
    private int pid;
    private String pname;
    private String pimgurl;

    public Brand(){}
    public Brand(int pid, String pname, String pimgurl) {
        this.pid = pid;
        this.pname = pname;
        this.pimgurl = pimgurl;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPimgurl() {
        return pimgurl;
    }

    public void setPimgurl(String pimgurl) {
        this.pimgurl = pimgurl;
    }

    @Override
    public String toString() {
        return "brand{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", pimgurl='" + pimgurl + '\'' +
                '}';
    }
}
